@import './base.css';

#app {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  font-weight: normal;
}

a,
.green {
  text-decoration: none;
  color: hsla(160, 100%, 37%, 1);
  transition: 0.4s;
  padding: 3px;
}

@media (hover: hover) {
  a:hover {
    background-color: hsla(160, 100%, 37%, 0.2);
  }
}

@media (min-width: 1024px) {
  body {
    display: flex;
    place-items: center;
  }

  #app {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0 2rem;
  }
}

/* 删除确认对话框样式 */
.delete-confirm-dialog {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25) !important;
    border: none !important;
    min-width: 480px !important;
    max-width: 600px !important;
}

.delete-confirm-dialog .el-message-box__header {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%) !important;
    color: white !important;
    padding: 24px 28px 20px 28px !important;
    border-bottom: none !important;
    position: relative !important;
}

.delete-confirm-dialog .el-message-box__header::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: linear-gradient(90deg, #ff4757 0%, #ff6b6b 50%, #ff4757 100%) !important;
}

.delete-confirm-dialog .el-message-box__title {
    color: white !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.delete-confirm-dialog .el-message-box__title::before {
    content: '⚠️' !important;
    font-size: 24px !important;
}

.delete-confirm-dialog .el-message-box__headerbtn {
    color: white !important;
    font-size: 20px !important;
    transition: all 0.3s ease !important;
    width: 32px !important;
    height: 32px !important;
}

.delete-confirm-dialog .el-message-box__headerbtn:hover {
    color: #f0f0f0 !important;
    transform: scale(1.1) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
}

.delete-confirm-dialog .el-message-box__content {
    padding: 32px 28px !important;
    background: white !important;
    position: relative !important;
    text-align: center !important;
}

.delete-confirm-dialog .el-message-box__message {
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #303133 !important;
    font-weight: 500 !important;
    text-align: center !important;
    margin: 0 !important;
}

.delete-confirm-dialog .el-message-box__status {
    font-size: 32px !important;
    color: #ff6b6b !important;
    margin: 0 auto 20px auto !important;
    display: block !important;
}

.delete-confirm-dialog .el-message-box__btns {
    padding: 24px 28px !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border-top: 1px solid #e9ecef !important;
    display: flex !important;
    justify-content: center !important;
    gap: 16px !important;
}

.delete-confirm-dialog .el-button--primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%) !important;
    border: none !important;
    color: white !important;
    border-radius: 10px !important;
    padding: 14px 32px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    min-width: 120px !important;
    height: 48px !important;
}

.delete-confirm-dialog .el-button--primary:hover {
    background: linear-gradient(135deg, #ee5a52 0%, #e74c3c 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 24px rgba(255, 107, 107, 0.4) !important;
}

.delete-confirm-dialog .el-button--default {
    background: white !important;
    border: 2px solid #dcdfe6 !important;
    color: #606266 !important;
    border-radius: 10px !important;
    padding: 14px 32px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    min-width: 120px !important;
    height: 48px !important;
}

.delete-confirm-dialog .el-button--default:hover {
    background: #f5f7fa !important;
    border-color: #409eff !important;
    color: #409eff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 24px rgba(64, 158, 255, 0.2) !important;
}
